Ext.define('ECAT.view.ItemizeList', {
    extend: 'Ext.dataview.List',
    requires: ['Ext.data.Store'],
    xtype : 'list_itemize',
    config : {
    	modal : true,
    	top : 90,
    	scrollable : false,
    	cls : 'touming',
    	store : Ext.create('Ext.data.Store', {
    	    id: 'itemizes',
    	    fields: ['id','name'],
    	    proxy: {
    	        type: 'ajax',
    	        url : 'data.json',
    	        reader: {
    	            type: 'json',
    	            rootProperty: 'itemizes'
    	        }
    	    },
    	    autoLoad: true
    	}),
    	itemTpl : '<div class="x-list-itemize">{name}</div>'
    },
    initialize: function() {
    	this.callParent(arguments);
    	this.setWidth(ECAT.lib.DWIDTH);
    	this.setHeight(ECAT.lib.DHEIGHT-90-90);
    }
});